#pragma once
//////////////
// INCLUDES //
//////////////
#include <stdio.h>


///////////////////////
// MY CLASS INCLUDES //
///////////////////////
#include "openglclass.h"
#include "stb_image.h"

////////////////////////////////////////////////////////////////////////////////
// Class name: TextureClass
////////////////////////////////////////////////////////////////////////////////
class TextureClass
{
private:
	struct TargaHeader
	{
		unsigned char data1[12];
		unsigned short width;
		unsigned short height;
		unsigned char bpp;
		unsigned char data2;
	};

public:
	TextureClass();
	TextureClass(const TextureClass&);
	~TextureClass();
	bool Initialize(OpenGLClass*, char*, unsigned int, bool);
	void Shutdown();

private:
	bool LoadTexture(OpenGLClass*, char*, unsigned int, bool);
private:
	bool loaded;
	unsigned int m_textureID;
};